package com.xiaoyu.string;

/**
 * Created by xiaoyu on 16/3/30.
 */
public class Child extends Parent {
    private String name = "child";

    public Child(){

    }

    public void printName(){
        System.out.println("child = "  + name );
    }

    public static void main(String[] args) {
        Parent parent = new Child();
    }
}
